/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.isd.pool.rn;

import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import com.isd.pool.dao.PoolTipoDAO;
import com.isd.pool.modelo.PoolTipo;

/**
 *
 * @author Claudio
 */
@Stateless
@LocalBean
public class PoolTipoRN {

    @EJB private PoolTipoDAO poolTipoRN;

    public PoolTipo getPoolTipo(String codigo){

        return poolTipoRN.getPoolTipo(codigo);
    }

    public List<PoolTipo> getLista(){

        return poolTipoRN.getLista();
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
